package pe.com.upc.sef.layer.view.seguridad;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class SeguContAuteController {

	protected final Log logger = LogFactory.getLog(getClass());
	
	@RequestMapping(value = "/hu-00/seguridad_ingresar_cuenta.html")
	public ModelAndView ingresarCuenta(HttpServletRequest request, HttpServletResponse response, ModelMap objectModelMap) throws Exception  {
		
		ModelAndView mav = new ModelAndView();
		mav.setViewName("/package-seguridad/hu-00/interfaz-autenticacion-validar");	
		mav.addObject(objectModelMap);
		
        return mav;
        
	}
	
	@RequestMapping(value = "/hu-00/seguridad_ejecutar_cuenta.html")
	public ModelAndView ejecutarCuenta(HttpServletRequest request, HttpServletResponse response, ModelMap objectModelMap) throws Exception  {
		
		ModelAndView mav = new ModelAndView();
		mav.setViewName("/package-inicio/hu-00/interfaz-bienvenida-consultar");	
		mav.addObject(objectModelMap);
		
        return mav;
        
	}	
		
}